package com.yzd.learnjava.generics;

public class MutipleInterfaceVariants {

}


interface Payable<T>{}
class Employee3 implements Payable<Employee3>{}

//class Hourly extends Employee3 implements Payable<Hourly>{}


interface Payable2{}
class Employee4 implements Payable2{}
class Hourly2 extends Employee4 implements Payable2{}